package com.avcdata.aoscustommade.view;

import com.avcdata.aoscustommade.bean.DateSelectCategoryBean;
import com.avcdata.aoscustommade.bean.DetailsBean;
import com.avcdata.aoscustommade.bean.HotBrandCumulativeBean;
import com.avcdata.aoscustommade.bean.TechnologyBean;

import org.json.JSONObject;

/**
 * Created by zyh on 17/6/7.
 */

public interface CityDatailActivityView {
    //获取产品类型日期
    void loadSelectCategorySuccess(DateSelectCategoryBean bean);
    void loadSelectCategoryFailure();
    void loadSelectCategoryFailure(Throwable throwable);

    //获取价格段＋容积段＋渠道
    void loadDatailSuccess(JSONObject object);
    void loadDatailFailure();
    void loadDatailFailure(Throwable throwable);

    //获取热门品牌销售累计情况
    void loadHotBrandsalesSuccess(Object object);
    void loadHotBrandsalesFailure();
    void loadHotBrandsalesFailure(Throwable throwable);

    //获取销售额占有率
    void loadSalesOccupancySuccess(HotBrandCumulativeBean object);
    void loadSalesOccupancyFailure();
    void loadSalesOccupancyFailure(Throwable throwable);

    //获取销售走势图
    void loadSalesTrendSuccess(JSONObject object);
    void loadSalesTrendFailure();
    void loadSalesTrendFailure(Throwable throwable);

    //获取Top50机型技术类型
    void loadTop50SkilltypeSuccess(TechnologyBean object);
    void loadTop50SkilltypeFailure();
    void loadTop50SkilltypeFailure(Throwable throwable);

    //获取TOP50机型详情
    void loadTOP50typeSuccess(DetailsBean object);
    void loadTOP50typeFailure();
    void loadTOP50typeFailure(Throwable throwable);
}
